package com.gmss.crawler.module.paper.service;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.gmss.crawler.module.paper.domain.Paper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gmss.crawler.module.patent.domain.Patent;
import com.gmss.crawler.module.person.domain.PersonInfo;

import java.io.IOException;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 论文表 服务类
 * </p>
 *
 * @author Auto-generator
 * @since 2021-10-21
 */
public interface IPaperService extends IService<Paper> {

    Map<String, Object> getPaperInfoByUserName(PersonInfo personInfo, JSONArray resourceJsonArray, List<String> organizationList) throws IOException, InterruptedException;

    void getPaperPatent(JSONObject paramsMap, Long personId) throws IOException, InterruptedException;

    List<Paper> queryPaperData(Map<String, Object> map);

    boolean writeExcel(String filePath, String fileName, List<Paper> paperList);
}
